package com.usian.entity.day13;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author sjt
 * @Date 2023/8/11 19:38
 * @PackageName: cn.jiyun.entity.day13.UserDTO
 */
@Data
public class UserDTO {
    private Integer pageSize=10;
    private Integer pageNum=1;
    private String nameOrCode;
    private String status;
    private String rid;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date endDate;

    private Integer tid;
}
